import Vue from 'vue'
import Vuex from 'vuex'
import persistedstate from 'vuex-persistedstate'

Vue.use(Vuex)//🌟

export default new Vuex.Store({//🌟//🌟//🌟
  state: {
    user:{}
  },
  mutations: {
    setStoreUser(state,user){//🌟
      state.user = user
    }
  },
  plugins: [persistedstate()]
})
